package site.codeyin.javautils.constant;

/**
 * @author <a href="https://github.com/liangcheng2221">yinjie</a>
 * @date 2024-11-16 16:52
 */
public class BizConstant {
    /**
     * 项目路径
     */
    public static final String PROJECT_PATH = System.getProperty("user.dir");

    /**
     * 本地文件路径
     */
    public static final String LOCAL_FILE_PATH = PROJECT_PATH + "/temp/";


    /**
     * 缓冲区大小
     */
    public static final int BUFFER_SIZE = 4096;

    /**
     * 幂等ID过期时间
     */
    public static final long IDEMPOTENT_ID_EXPIRE_TIME = 60 * 1000;

    /**
     * 锁争夺时间
     */
    public static final long LOCK_WAIT_TIME = 1000;

}
